package com.usian.controller;

import com.usian.designer.HomeSupportService;
import com.usian.service.SupportService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/app/users/supportservice")
public class SupprotController {

    @Autowired
    private SupportService supportService;

    @RequestMapping("/getsupportservice")
    public List<HomeSupportService> getsupportservice(){
        return supportService.getsupportservice();
    }
}
